package com.RedRiver.hospitalsystem.personal_service.service;

import com.RedRiver.hospitalsystem.personal_service.infra.model.Doctor;
import com.RedRiver.hospitalsystem.personal_service.service.Form.*;
import com.RedRiver.hospitalsystem.personal_service.service.info.DoctorPageInfo;
import com.RedRiver.hospitalsystem.result.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙世超
 * @since 2022-04-26
 */
public interface DoctorService extends IService<Doctor> {

    Result<?> createDoctor(DoctorForm doctorForm);

    IPage<DoctorPageInfo> findPageAllDocktor(PageForm form);

    Result<String> changeDoctor(DoctorChangeForm doctorChangeForm);

    IPage<DoctorPageInfo> findPageDepartmentDocktor(DoctorDepartmentForm doctorDepartmentForm);

    IPage<DoctorPageInfo> FindPageLevelDoctor(DoctorLevelForm doctorLevelForm);

    Result<?> delDoctor(Integer doctorId);
}
